package com.gosophia.conferenceManagement.notification.ws;

import com.gosophia.commons.exception.BusinessException;
import com.gosophia.conferenceManagement.notification.dto.SendNotificationJobDataDTO;
/**
 * 发送通知webService接口
 * 
 * @author gaoweiguang
 * @date 2011-4-06
 */
public interface SendNotificationWebService {

    /**
	 * 根据jobId,sendUserId查找job数据
	 * 
	 * @param jobId 不能为null
	 * @return 符合条件的job数据，如果没有返回null
	 * @throws BusinessException
	 */
	 public SendNotificationJobDataDTO findSendNotificationJobDataByJobIdAndSendUserId(Long jobId) throws BusinessException;
	 /**
	  * 根据SendNotificationJobDataDTO发送邮件
	  * @param sendNotificationJobDataDTO 不能为null
	 * @throws BusinessException 
	  */
	 public void sendMail(SendNotificationJobDataDTO sendNotificationJobDataDTO) throws BusinessException;
	 
	 
	
}
